<?php
/*
 **************************************************************************************************
 *	The sidebar containing the right widget area
 *
 *	Can modified wigets css style eg. categories, recent posts, recent comments, archives, meta
 *  in your css theme file
 **************************************************************************************************
*/
if ( is_active_sidebar( 'primary-sidebar' ) ) :

	// if you don't have searchform.php wordpress will render its built-in search form
	get_search_form();
	// call active widgets in primary-sidebar
	dynamic_sidebar( 'primary-sidebar' );

endif;